I'm trying to run a Selenium test using the Run Functional Test step from a vNext build definition on TFS 2015, the test project's sources are built on the TFS server and copied to a remote machine running Windows 8.1. However, when it's to run the unit test, nothing happens with a repeated message " test is in state 'InProgress' " in the TFS console. On the DTAExecutionHost log file in the remote machine, the following lines are repeated (snippet from end of log file).
Web method running: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] Web method response: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] 15 ms V, 3872, 21, 2016/09/22, 13:45:05.769, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener:DispatchAsync W, 3872, 21, 2016/09/22, 13:45:05.769, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : TestExecutionCommand received with None. Retrying it. W, 3872, 21, 2016/09/22, 13:45:05.769, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Queue not found. Delaying for 50000 milliseconds. V, 3872, 18, 2016/09/22, 13:45:55.773, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Getting Command for Test Agent Microsoft.TeamFoundation.Test.WebApi.TestAgent Web method running: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] Web method response: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] 15 ms V, 3872, 19, 2016/09/22, 13:45:55.788, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener:DispatchAsync W, 3872, 19, 2016/09/22, 13:45:55.788, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : TestExecutionCommand received with None. Retrying it. W, 3872, 19, 2016/09/22, 13:45:55.788, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Queue not found. Delaying for 50000 milliseconds. V, 3872, 17, 2016/09/22, 13:46:45.792, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Getting Command for Test Agent Microsoft.TeamFoundation.Test.WebApi.TestAgent Web method running: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] Web method response: [https://.com/tfs/DefaultCollection/_apis/test/Agents/19/Commands/0] (GET)0[test] 16 ms V, 3872, 16, 2016/09/22, 13:46:45.808, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener:DispatchAsync W, 3872, 16, 2016/09/22, 13:46:45.808, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : TestExecutionCommand received with None. Retrying it. W, 3872, 16, 2016/09/22, 13:46:45.808, KLPC-607V\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Queue not found. Delaying for 50000 milliseconds. I, 4076, 1, 2016/09/22, 14:48:08.685, 158348745970, DTAExecutionHost.exe, Main.TryReadAndCacheVssCredentials Acquiring the Token Info I, 4076, 1, 2016/09/22, 14:48:08.841, 158350330678, DTAExecutionHost.exe, Communicating to the Token Servicehttps://.com/tfs/DefaultCollection W, 4076, 1, 2016/09/22, 14:48:10.060, 158362406863, DTAExecutionHost.exe, Service task failed. Retry attempt 10. W, 4076, 1, 2016/09/22, 14:48:13.106, 158392951673, DTAExecutionHost.exe, Service task failed. Retry attempt 9. W, 4076, 1, 2016/09/22, 14:48:16.121, 158423022807, DTAExecutionHost.exe, Service task failed. Retry attempt 8.
I have the Interactive option enabled in the Test Agent Deployment step as seen here: Test Agent Deployment Configuration Step
Any feedback is welcome!